package com.nand.module.news;

import android.content.Intent;
import android.view.View;

import com.nand.library.base.base.BaseActivity;
import com.nand.module.news.ui.NewsDetailsActivity;

public class NMainActivity extends BaseActivity {

    @Override
    protected int initLayout() {
        return R.layout.activity_nmain;
    }

    @Override
    protected boolean isActionBar() {
        return true;
    }

    @Override
    protected void initView() {
        mActionBar().setCenterText("新闻");
    }

    @Override
    protected void initData() {

    }

    public void onColick(View view){
        Intent intent = new Intent(NMainActivity.this, NewsDetailsActivity.class);
        startActivity(intent);

    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);

    }
}
